import Vue from "vue"

import {
	Button,
	NavBar,
	Icon,
	Form,
	Field,
	Toast,
	Tabs,
	Tab,
	Uploader,
	Dialog,
	Sticky,
	List,
	Empty,
	Divider
} from 'vant'

Vue.use(Button)
Vue.use(NavBar)
Vue.use(Icon)
Vue.use(Form)
Vue.use(Field)
Vue.use(Tabs)
Vue.use(Tab)
Vue.use(Uploader)
Vue.use(Dialog)
Vue.use(Sticky)
Vue.use(List)
Vue.use(Empty)
Vue.use(Divider)

Vue.prototype.$toast = Toast
Vue.prototype.$dialog = Dialog